package com.icss.clothes.rabbitmq;

import java.io.Serializable;
/**
 * 向消息队列中传递消息数据类型
 */
public class MQMessage implements Serializable {
    private String order_id;//告知生成的订单编号
    private int c_id;//商品编号
    private int cd_id;//商品详情编号
    private int od_number;//购买的数量
    private int User_id;//用户编号
    private int size_id;
    private int color_id;
    public MQMessage() {
    }

    public int getUser_id() {
        return User_id;
    }

    public void setUser_id(int user_id) {
        User_id = user_id;
    }

    public MQMessage(String order_id, int c_id, int cd_id, int od_number, int user_id, int size_id, int color_id) {
        this.order_id = order_id;
        this.c_id = c_id;
        this.cd_id = cd_id;
        this.od_number = od_number;
        User_id = user_id;
        this.size_id = size_id;
        this.color_id = color_id;
    }

    public int getSize_id() {
        return size_id;
    }

    public void setSize_id(int size_id) {
        this.size_id = size_id;
    }

    public int getColor_id() {
        return color_id;
    }

    public void setColor_id(int color_id) {
        this.color_id = color_id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public int getC_id() {
        return c_id;
    }

    public void setC_id(int c_id) {
        this.c_id = c_id;
    }

    public int getCd_id() {
        return cd_id;
    }

    public void setCd_id(int cd_id) {
        this.cd_id = cd_id;
    }

    public int getOd_number() {
        return od_number;
    }

    public void setOd_number(int od_number) {
        this.od_number = od_number;
    }
}
